<?php

namespace LJS\Controller;

/**
 * AppbaseController 类
 *
 * @since VER:1.0; DATE:2016-6-13; AUTHOR:SoChishun; EMAIL:14507247@qq.com; DESC:Added.
 */
class AppbaseController extends \Think\Controller {

    /**
     * 空操作，用于输出404页面
     * @since 1.0 <2015-3-23> SoChishun Added.
     */
    public function _empty() {
        $this->display('XPage/404');
    }

    function _initialize() {
        $m_site=new \XWAM\Model\SiteConfModel();
        $conf=$m_site->find_site(1, 'admin');
        if ('N' == $conf['site_status']) {
            echo 'aa';
            die($conf['site_closed_announcement']);
        }
    }
    
}
